#!/bin/sh

programdir="."

num=$#
temp=$CLASSPATH
#setting libs path
libs=/xcc/lib/*
append(){
                temp=$temp":"$1
}
for file in $libs;    do
                append $file
done
export CLASSPATH=$temp:.:../:$programdir
export LANG=zh_CN
java -classpath $CLASSPATH com.xcc.core.netty.NettyServer
